﻿using Harmontronics.Model.Dto;
using Harmontronics.Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.IService.Business
{
    public interface IWorkShopService
    {
        //查询所有工厂数据
        public List<WorkShopModel> GetAllWorkShopModel();
        public List<WorkShop> GetAllWorkShop();
        //根据Id查询
        public WorkShopModel GetWorkShopById(string id);
        //单个增加
        public bool AddSingleWorkShop(WorkShop workShop);
        //改
        public bool UpdateWorkShop(WorkShop workShop);
        //删除
        public bool DeleteWorkShop(string id);
        //群删
        public bool BatchDelWorkShop(List<string> ids);
    }
}
